package com.easondongh.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easondongh.system.domain.SysDept;

import java.util.List;

/**
 * @author EasonDongH
 * @date 2020/5/6 15:46
 */
public interface SysDeptMapper extends BaseMapper<SysDept> {

    Integer getMaxOrderNum();

    List<SysDept> getDeptExcludeById(Integer id);

    Integer countChildDeptById(Integer id);
}